package com.xhai.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 用户部门关联表
 * </p>
 *
 * @author xhai
 * @since 2025-05-24
 */
@Getter
@Setter
@ToString
@TableName("sys_user_dept")
@Schema(name = "SysUserDept", description = "用户部门关联表")
public class SysUserDept implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    @TableField(value = "USER_ID")
    private Long userId;

    /**
     * 部门ID
     */
    @Schema(description = "部门ID")
    @TableField(value = "DEPT_ID")
    private Long deptId;
}
